;
; this is template of plugin for Clean Space (clean-space.com)
; you can use it to create your own plugins
; encoding ANSI only, no unicode!
;

; ========================================================================== 
;		SPECIAL VARIABLES
; ========================================================================== 
; for file paths you can use Windows enviroment variables, plus these:
; %documents%
; %desktop%
; %locallow%
; %packages% - in local app data\Packages
; %pf% - returns up to 3 program files folder, for 32 and 64 bit and Arm

; ========================================================================== 
;		APPLICATION TITLE
; ========================================================================== 
; title of cleaned application should be in squared brackets:

[Application title]

; ========================================================================== 
;		APPLICATION IMAGE
; ========================================================================== 
; images should be stored in Clean Space folder: Application\Plugins-images
; image will be re-sized, but it should be square
; if image itself not a square, move it to top of square, see default plugin
IMAGE=notepad.png

; ========================================================================== 
;		DYNAMIC VARIABLES
; ========================================================================== 
; processed before embed and load of plugin
DVAR1=
DVAR2=
DVAR3=

; ========================================================================== 
;		EMBED OTHER FILE
; ========================================================================== 
; files to embed should be stored in : Application\Plugins-embed
; content of embed file will be added to plugin as is
EMBED=chromium.txt

; ========================================================================== 
;		APP DETECTION
; ========================================================================== 
; to show app in the list Clean Space should check if it's installed on the PC
; you may use several commands DETECT in one plugin (each on a new line)
; it should be path to file or path in the registry, if exists - app installed
; you may use templates for file paths
; may be several lines, each title on a new line

;DETECT=C:\Program Files\Internet Exp*
;DETECT=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer

; if you need to check if installed some Windows Store app use this:
DETECT=%packages%\Microsoft_testStoreApp8 


; ========================================================================== 
;		APP CLOSE
; ========================================================================== 
; to prevent app conflict during cleaning and loss of user data you should
; close cleaned app if its running, you can write several CLOSE commands
; may be several lines, each title on a new line
; write executable name without extension
CLOSE=notepad












; ========================================================================== 
;		DESIGN DIRECTIVES
; ==========================================================================
; put one or more of these lines before any command to specify design elements
; that will appear BEFORE checkbox, you may put several directives
; height of 'space' directive is 50% of line height
DD=space
DD=header|Dangerous options, be carefull
DD=comment|This is commentary text that appears on line













; ========================================================================== 
;		SPECIAL FLAGS BEFORE ANY CLEANING COMMAND (cAsE not sensetive)
; ==========================================================================
; put one or more of these lines before any command to specify special terms
; note that 'Admin only' flag will be set automatically in case of admin locations: HKLM or %windir% or %programdata%
Admin only
Not selected by default
Warn user
DESCRIPTION=Provides human description for checkbox

; ========================================================================== 
;		REGISTRY CLEANING COMMAND, separated by |
; ========================================================================== 
; path (no templates)
; keys to include, may be few separated by ;
; keys to exclude, may be few separated by ;
; flags DONTDIVE, DELTOP, COUNTFOLDERS (you may separate them as you like)

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\TypedPaths|url|cairo|DONTDIVE


; ========================================================================== 
;		FILES CLEANING COMMAND, separated by |
; ========================================================================== 
; path (may be template, like some\folder*\)
; template to include, may be few separated by ; like * for all, or *.txt for text
; keywords to exclude, may be few separated by ;
; flags DONTDIVE, DELTOP, COUNTFOLDERS (you may separate them as you like)

C:\Users\admin\AppData\Local\Temp|*|MSIE|DONTDIVE

; ========================================================================== 
;		SQL cleaning
; ========================================================================== 
; SQL keyword
; path (may be template, like some\folder*\)
; template to include, may be few separated by ; like * for all, or *.txt for text
; sql table name

SQL|C:\Users\admin\AppData\Chrome|Cookies|cookies

; ========================================================================== 
;		Special actions
; ========================================================================== 
; for some areas special hard-coded actions are required
SPECIAL|actionName|param1|param2...

; ========================================================================== 
;		JSON cleaning 							
;	- !!! partial implementation !!!
; ========================================================================== 
; JSON keyword
; path (may be template, like some\folder*\)
; template to include, may be few separated by ; like * for all, or *.txt for text
; token name

JSON|C:\Users\admin\AppData\Firefox|*.json|Data